package com.system.exam.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 分享表
 * @TableName bus_share_info
 */
@TableName(value ="bus_share_info")
@Data
public class BusShareInfo implements Serializable {
    /**
     * 自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 0：无封面 1:横幅 2：小图标
     */
    @TableField(value = "cover_type")
    private Integer coverType;

    /**
     * 封面路径
     */
    @TableField(value = "cover_path")
    private String coverPath;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0：未发布 1：已发布
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 用户ID
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    /**
     * 姓名
     */
    @TableField(value = "create_user_name")
    private String createUserName;

    /**
     * 阅读数量
     */
    @TableField(value = "read_count")
    private Integer readCount;

    /**
     * 收藏数
     */
    @TableField(value = "collect_count")
    private Integer collectCount;

    /**
     * 0:内部 1:外部发布
     */
    @TableField(value = "post_user_type")
    private Integer postUserType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}